package com.xiaoyao.login;

import com.xiaoyao.login.config.CoreAutoConfiguration;
import com.xiaoyao.login.config.CustomSecurityConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Import;

@Import({CustomSecurityConfiguration.class, CoreAutoConfiguration.class})
@SpringBootApplication
@EntityScan({"com.xiaoyao.common.pojo"})
public class LoginBootstrap {

    public static void main(String[] args) {
        SpringApplication.run(LoginBootstrap.class, args);
    }

}
